package com.example.demo.domain;

public class BizzBuzz {
    public String bizzBuzz(int number) {
        if (number % 3 == 0 && number % 5 == 0) {
            return "BizzBuzz";
        }
        if (number % 3 == 0) {
            return "Bizz";
        }
        if (number % 5 == 0) {
            return "Buzz";
        }
        return String.valueOf(number);
    }
}
